
/* 头部信息 */
.el-header {
  height: 60px;
  width: 100%;
}

/* 侧边栏 */
.el-aside {
  background-color: white;
  color: #333;
  text-align: center;
  line-height: 200px;
  width: 200px;
}

/* 主体内容 */
.el-main {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
  color: #333;
  font-size: 20px;
  padding: 20px;
}


/* 搜索、筛选区域 */
.search {
  background-color: white;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search>* {
  margin-right: 16px;
}

.search>*:last-child {
  margin-right: 0;
}

.relative {
  border-radius: 4px;
  border: 1px solid #dcdfe6;
  height: 40px;
  flex: 1;
  padding: 0 16px;
  font-size: 14px;
  transition: all 0.2s;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.relative:focus {
  outline: none;
  border-color: #409eff;
  box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
}

.add-button {
  border-radius: 4px;
  background-color: #409eff;
  border: none;
  color: white;
  height: 40px;
  padding: 0 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(64, 158, 255, 0.3);
}

.add-button:hover {
  background-color: #66b1ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(64, 158, 255, 0.4);
}

.add-button:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 表格内容 */
.table-scroll-container {
  height: 370px;
  overflow-y: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background-color: white;
}

.table-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.table-scroll-container::-webkit-scrollbar-thumb {
  background: #dcdfe6;
  border-radius: 3px;
}

/* 表格基础样式 */
.user-table {
  padding:  0 20px;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* 表格头部样式 */
.user-table thead th {
 background-color: #f0f2f5;
  font-weight: 500;
  padding: 16px 15px;
  border-bottom: 2px solid #ebeef5;
  position: sticky;
  top: 0;
  z-index: 10;
  color: #606266;
  font-size: 14px;
  text-align: left;
}

.user-table tbody tr {
  border-bottom: 1px solid #f5f7fa;
  transition: all 0.2s;
}

.user-table tbody tr:hover {
  background-color: #fafbfe;
}

.user-table tbody tr:last-child {
  border-bottom: none;
}
/* 用户信息列 */
.user-info-row {
  display: flex;
  align-items: center; 
  height: 100%; 
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 20px;
  vertical-align: middle;
  object-fit: cover;
  border: 1px solid #ebeef5;
}

.user-name {
  font-size: 14px;
  color: #333;
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis; 
}

.el-table-column {
  padding: 0 8px; 
}

/* 表格内按钮样式 */
.el-button {
  border-radius: 4px;
  padding: 0 12px;
  font-size: 12px;
  height: 28px;
  transition: all 0.2s;
}

.el-button--primary {
  background-color: #409eff;
  border-color: #409eff;
}

.el-button--primary:hover {
  background-color: #66b1ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(64, 158, 255, 0.3);
}


/* 用户类型徽章 */
.user-type-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  color: white;
  margin-right: 5px;
}

.seeker-badge {
  background-color: #52c41a;
}

.recruiter-badge {
  background-color: #faad14;
}

.admin-badge {
  background-color: #909399;
}

/* 表格内按钮样式 */
.el-button {
  border-radius: 4px;
  padding: 0 12px;
  font-size: 12px;
  height: 28px;
  transition: all 0.2s;
}

.el-button--primary {
  background-color: #409eff;
  border-color: #409eff;
}

.el-button--primary:hover {
  background-color: #66b1ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(64, 158, 255, 0.3);
}

/* 分页样式 */
.el-pagination {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
